package org.goodprinciples.commons.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * Bean che contiene tutte le informazioni possibile su un utente di
 * un'applicazione.
 * 
 * @author Francesco Conte
 */
public class User implements Serializable {
    
    private String userName = null;
    private String firstName = null;
    private String surname = null;
    private Date registrationDate = null;
    private Date deactivationDate = null;
    
    public User() {}

    public Date getDeactivationDate() {
        return deactivationDate;
    }

    public void setDeactivationDate(Date deactivationDate) {
        this.deactivationDate = deactivationDate;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public Date getRegistrationDate() {
        return registrationDate;
    }

    public void setRegistrationDate(Date registrationDate) {
        this.registrationDate = registrationDate;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    
}
